package com.example.loginandpaytools.Support;

import com.example.loginandpaytools.common.Config;

/**
 * Created by jerry on 17-3-1.
 */

public class Configuration {

    private static String API_HOST = "http://api.900sy.com/";

    //设备唯一标识码
    private static String DEVICE_ID = "imei";

    //应用ID
    private static int GAME_ID;

    //渠道ID
    private static int CHANNEL_ID;

    //包标示
    private static String PACKAGE_NAME;

    //临时通行码
    private static String CODE = "";

    //用户ID
    private static int UID;

    //用户长期通行码
    private static String TOKEN;

    //服务器ID
    private static int SERVER_ID;

    //角色ID
    private static int ROLE_ID;

    //角色名
    private static String ROLE_NAME;

    //角色当前等级
    private static int ROLE_LEVEL;

    private static String EXT;

    //签名所需KEY
    private static String SIGN_KEY = Config.SIGN_KEY;//"HSF&$G*BHJ#KGEF(#@";

    public static String getApiHost() {
        return API_HOST;
    }

    public static String getDeviceId() {
        return DEVICE_ID;
    }

    public static void setDeviceId(String deviceId) {
        DEVICE_ID = deviceId;
    }

    public static int getChannelId() {
        return CHANNEL_ID;
    }

    public static void setChannelId(int channelId) {
        CHANNEL_ID = channelId;
    }

    public static int getGameId() {
        return GAME_ID;
    }

    public static void setGameId(int gameId) {
        GAME_ID = gameId;
    }

    public static int getUID() {
        return UID;
    }

    public static void setUID(int UID) {
        Configuration.UID = UID;
    }

    public static String getCODE() {
        return CODE;
    }

    public static void setCODE(String CODE) {
        Configuration.CODE = CODE;
    }

    public static String getPackageName() {
        return PACKAGE_NAME;
    }

    public static void setPackageName(String packageName) {
        PACKAGE_NAME = packageName;
    }

    public static String getTOKEN() {
        return TOKEN;
    }

    public static void setTOKEN(String TOKEN) {
        Configuration.TOKEN = TOKEN;
    }

    public static int getServerId() {
        return SERVER_ID;
    }

    public static void setServerId(int serverId) {
        SERVER_ID = serverId;
    }

    public static int getRoleId() {
        return ROLE_ID;
    }

    public static void setRoleId(int roleId) {
        ROLE_ID = roleId;
    }

    public static int getRoleLevel() {
        return ROLE_LEVEL;
    }

    public static void setRoleLevel(int roleLevel) {
        ROLE_LEVEL = roleLevel;
    }

    public static String getRoleName() {
        return ROLE_NAME;
    }

    public static void setRoleName(String roleName) {
        ROLE_NAME = roleName;
    }

    public static String getSignKey() {
        return SIGN_KEY;
    }

    public static void setSignKey(String signKey) {
        SIGN_KEY = signKey;
    }

    public static void setEXT(String EXT) {
        Configuration.EXT = EXT;
    }

    public static String getEXT() {
        return EXT;
    }
}
